<template>
  <div class="CustomInput">
      <el-input
        type="textarea"
        v-model="formValue"
        v-bind="$attrs.attributes"
      />
  </div>
</template>

<script>
export default {
    inheritAttrs: false,// 不让子组件的根节点渲染属性
    name:"textArea",
}
</script>
<script setup>
import { ref, reactive, onMounted, computed } from "vue";
const props = defineProps(["form", "modelValue"]); //formItemConfig
const emits = defineEmits(["notify", "update:modelValue"]);
const formValue = computed({
  get() {
    return props.modelValue;
  },
  set(value) {
    emits("update:modelValue", value);
  }
});

const disabled = ref(false);
</script>

<style lang="less" scoped>
.CustomInput {
  width: 100%;
  height: 100%;
}
</style>
